home *** CD-ROM | disk | FTP | other *** search
/ Windows News 2010 Summer - Disc 1 / WN_Ete2010_CD1.iso / Onglet5 / Weezo / Weezo setup.exe / {code_appDir} / www / 404.php next >
PHP Script  |  2010-05-19  |  730b  |  16 lines

  1. <?php
  2. // Some URL couldn't be handled by mod_rewrite and are actualy generated by audio flash player (%2F, ...)
  3. if(substr($_SERVER['REQUEST_URI'],0,7) == '/audio/') {
  4.     header("HTTP/1.0 200 OK");
  5.     require(cfAppDocRoot().'/ext/audio.php'); exit;
  6. }
  7. cfInsertHEAD();
  8. ?>
  9. <body style="text-align:center;vertical-align:middle;background:white;color:#DDD;font-size:400px;font-weight:bold;font-family:arial">
  10.     <div style="position:absolute;top:50%;left:50%;background:red;width:1px;height:1px">
  11.         <div style="position:absolute;top:-220px;left:-330px">
  12.             404
  13.         </div>
  14.     </div>
  15. </body>
  16. <div style="position:absolute;right:1em;bottom:1em;font-size:10px;color:red"><?php // echo htmlspecialchars($_SERVER['REQUEST_URI']);?></div>